﻿using WMS.FC.Domain.PersistenceObject.Business;

namespace WMS.FC.Domain.Repository
{
    public interface ITaskRepository : IRepositoryBase
    {
        /// <summary>
        /// 通过托盘码获取托盘信息
        /// </summary>
        /// <param name="trayBarcode"></param>
        /// <returns></returns>
        Task<TaskPO?> GetTaskByTrayBarcode(string trayBarcode);

        /// <summary>
        /// 通过任务编号获取任务信息
        /// </summary>
        /// <param name="taskCode"></param>
        /// <returns></returns>
        Task<TaskPO?> GetTaskByTaskCode(string taskCode);
    }
}
